﻿// 显示浮动窗口在屏幕中间
//function ShowCenter(display, ctrId) {
//    var control = document.getElementById(ctrId);
//    if (display) {
//        control.style.top = document.body.scrollTop + control.clientHeight / 2 + 100;
//        control.style.left = (window.screen.width - control.style.pixelWidth) / 2;
//        control.style.display = "";
//    }
//    else {
//        control.style.display = "none";
//    }
//}